package com.qfedu.microlottery.record.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qfedu.common.core.entity.Lotteryrecord;
import org.apache.ibatis.annotations.Param;

/**
 * @Classname LotteryrecordMapper
 * @Description TODO
 * @Date 2025-10-09 11:02
 * @Created by 老任与码
 */
public interface LotteryrecordMapper extends BaseMapper<Lotteryrecord> {
    /**
     * 用户当天的抽奖次数
     *
     * @param uid
     * @param activityId
     * @return
     */
    int todayCount(@Param("uid") Integer uid, @Param("activityId") Integer activityId);
}
